//
//  UIImage+Border.h
//  MacroTest
//
//  Created by xiaokang on 2017/6/21.
//  Copyright © 2017年 xiaokang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Border)


/**
 圆角图片

 @param cornerRadius 圆角值
 @return 圆角图片
 */
- (UIImage *)imageWithCornerRadius:(CGFloat)cornerRadius;


/**
 带有圆角边框的图片
 
 @param borderWith 边框宽
 @param borderColor 边框颜色
 @param cornerRadius 圆角值
 @return UIImage对象图片
 */
- (UIImage *)imageWithBorderWith:(CGFloat)borderWith borderColor:(UIColor *)borderColor cornerRadius:(CGFloat)cornerRadius;

@end
